home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / comm / tlx3_wx.zip / WXFER.DOC < prev    next >
Text File  |  1987-04-18  |  1KB  |  49 lines

  1.  
  2.  
  3.  
  4.     Here's the first version of WXFER!  It is actually WXTERM, changed
  5.     around to take command-line parameters, monitor carrier, and give
  6.     return codes--the things needed to make it work in DCS.
  7.  
  8.     The command line is relatively simple--
  9.     -s          sends a file
  10.     -r          receives a file
  11.     -r!         receives a file and will overwrite it if it exists
  12.     speed       specifies communications speed
  13.     port        specifies communications port
  14.     -c          requires carrier
  15.  
  16.     The defaults are port 1, speed 1200, and carrier detect NOT required.
  17.     Here is an excerpt from our new transfer.dcs:
  18.  
  19.     To receive a file (user upload):
  20.  
  21.     if Protocol = "W"
  22.        then begin
  23.             Let CommandLine = " port "+*Port+ " -c speed "+*Baud+" -r! ",FullFilePath
  24.             Execute "C:\SYSFILES\WXFER.COM" + CommandLine
  25.             end-if
  26.  
  27.     To send a file (user download):
  28.  
  29.     if Protocol = "W"
  30.        then begin
  31.             Let CommandLine = " port "+*Port+ " -c speed "+*Baud+" -s ",*FileSpec
  32.             Execute "C:\SYSFILES\WXFER.COM" + CommandLine
  33.             end-if
  34.  
  35.  
  36.     Some example command lines:
  37.  
  38.     "WXFER port 1 -c speed 2400 -s c:\dcs\dcs4-12.arc"
  39.     "WXFER speed 2400 -r! test.arc"
  40.  
  41.  
  42.     Lemme know how it works!
  43.  
  44.  
  45.  
  46.  
  47.  
  48.                                                 Marty
  49.                                                 April 17, 1987